#ifndef __AUTO_GEN_SUPPORT_HPP__
#define __AUTO_GEN_SUPPORT_HPP__

#define STARTUP_CODELET_NAME(ID, TOTDIM, ITDIM) \
  startup_##ID

//  startup_##ID_##TOTDIM_##ITDIM

#define WORKER_CODELET_NAME(ID, TOTDIM, ITDIM)    \
  worker_##ID

//  worker_##ID_##TOTDIM_##ITDIM

#define SHUTDOWN_CODELET_NAME(ID, TOTDIM, ITDIM)        \
  shutdown_##ID

//  shutdown_##ID_##TOTDIM_##ITDIM

#define COUNTING_DEP_NAME(ID, TOTDIM, ITDIM)    \
  counting_dep_##ID

//  counting_dep_##ID_##TOTDIM_##ITDIM

#define TAG_TABLE_NAME(ID, TOTDIM, ITDIM)       \
  tag_table_##ID

//  tag_table_##ID_##TOTDIM_##ITDIM

#define ET_DECL_IV(NAME, COUNT, TERMS) \
  static constexpr auto NAME = std::get<COUNT>(TERMS);

#define ET_DECL_PARMS(NAME, COUNT, TERMS) \
  static constexpr auto NAME = std::get<COUNT>(TERMS);


#endif // __AUTO_GEN_SUPPORT_HPP__
